**# Bookmark #1 Setting

*Windows
global root  = "G:/Dropbox/Environmental Injustice/Empirical"
global rawdata = "$root/rawdata"
global workdata = "$root/workdata"
global results = "$root/results"
global outfile = "$root/outfile"

cd "$workdata"

**# Bookmark #2 Regression

use "$outfile/Table S8.dta",clear

global var1 lngdp gdpgrowth urbanization lnunemploymentrate lnunemployment
global var2 belowcl belowhs

foreach y in $var1{
foreach x in $var2{
	reghdfe `y' c.`x'##i.post,absorb(i.city i.province#i.year) cluster(i.province i.year)
	outreg2 using "$results/Table S8.xls",append ctitle(`y') addtext(City FE,YES,ProvincebyYear FE,YES) bdec(3) tdec(3) rdec(3)
}
}
